<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>部门明细</title>
	<%@ include file="/common/common_style_script.jsp"%>
</head>
<body>
    <form class="cf wd5 fl">
        <div>
            <label for="deptId">部门编号</label>
            <input id="deptId" name="dept.deptId" value="<c:out value="${dept.deptId}"/>" disabled="disabled"/>
            <label for="deptName">部门名称</label>
            <input id="deptName" name="dept.deptName" value="<c:out value="${dept.deptName}"/>" disabled="disabled"/>
        </div>
        <div>
            <label for="deptManager">部门负责人</label>
            <input id="deptManager" name="dept.deptManager.employeeName" value="<c:out value="${dept.deptManager.employeeName}"/>" disabled="disabled"/>
        </div>
        <div>
        	<label for="deptDesc">部门描述</label>
            <textarea id="deptDesc" cols="100" disabled="disabled"><c:out value="${dept.deptDesc}" /></textarea>
        </div>
        <div class="btn">
            <input id="btnEdit" type="button" value="编辑"/>
        </div>
    </form>
</body>
<script>
$(function(){
	$("#btnEdit").click(function(){
		var id=$("#deptId").val();
		var url = '<c:url value="/sys/dept/toAction/edit.action?id="/>' + id;
		window.location.href = url;
	});
});
</script>
</html>
